﻿using Helpers;
using System.Text.RegularExpressions;

namespace GmailChatBot
{
    public class KeyCommadProcess : CommandProcess
    {
        public KeyCommadProcess() { }

        #region Methods

        protected override string ProcessInternal(string command)
        {
            System.Diagnostics.Process proc = Processes.GetActiveWindowProcess();

            CommandProcess.SendKey(command, proc);

            return this.MsgSuccess;
        }

        #endregion
    }
}
